package com.example.demo.model;

import java.math.BigDecimal;
import java.util.Date;

public class Product {
    private Long id;

    private Date addTime;

    private Date updateTime;

    private Boolean isDel;

    private String image;

    private String name;

    private BigDecimal price;

    private Boolean houseType;

    private Boolean level;

    private BigDecimal designFee;

    private Integer designChart;

    private BigDecimal decorationFee;

    private Integer maintain;

    private BigDecimal discount;

    private Integer sales;

    private Integer popularity;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Boolean getHouseType() {
        return houseType;
    }

    public void setHouseType(Boolean houseType) {
        this.houseType = houseType;
    }

    public Boolean getLevel() {
        return level;
    }

    public void setLevel(Boolean level) {
        this.level = level;
    }

    public BigDecimal getDesignFee() {
        return designFee;
    }

    public void setDesignFee(BigDecimal designFee) {
        this.designFee = designFee;
    }

    public Integer getDesignChart() {
        return designChart;
    }

    public void setDesignChart(Integer designChart) {
        this.designChart = designChart;
    }

    public BigDecimal getDecorationFee() {
        return decorationFee;
    }

    public void setDecorationFee(BigDecimal decorationFee) {
        this.decorationFee = decorationFee;
    }

    public Integer getMaintain() {
        return maintain;
    }

    public void setMaintain(Integer maintain) {
        this.maintain = maintain;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getPopularity() {
        return popularity;
    }

    public void setPopularity(Integer popularity) {
        this.popularity = popularity;
    }
}